import { Provider } from "react-redux";
import { ConfigProvider } from 'antd';

import AppRouter from './router/appRouter'
import store from "./store/index";

function App() {
  return (
     <Provider store={store}>
      <DmChat />
     </Provider>
    )
}

function DmChat() {
  return (
    <ConfigProvider >
      <AppRouter />
    </ConfigProvider>
  )
}

export default App;
